﻿@{
    Layout = "";
}
@using SRM.WebSite.Models.Account;
@model LoginViewModel;
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>后台管理平台登录</title>

    <!-- Font Awesome -->
    <link rel="stylesheet" href="~/plugins/fontawesome-free/css/all.min.css">
    <!-- icheck bootstrap -->
    <link rel="stylesheet" href="~/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="~/dist/css/adminlte.min.css">
</head>
<body class="hold-transition login-page">
    <div class="login-box">
        <div class="card card-outline card-primary">
            <div class="card-header text-center">
                <a href="JavaScript:void(0);" class="h1"><b></b>后台登录</a>
            </div>
            <div class="card-body">
                <p class="login-box-msg">
                    登录以开始您的系统
                    <div asp-validation-summary="All" class="text-danger"></div>
                </p>
                <form method="post" asp-action="Login">
                    <div class="input-group mb-3">
                        <input type="text" class="form-control" asp-for="UserName" placeholder="请输入用户名...">
                        <div class="input-group-append">
                            <div class="input-group-text">
                                <span class="fas fa-user"></span>
                            </div>
                        </div>
                    </div>
                    <div class="input-group mb-3">
                        <input type="password" class="form-control" asp-for="Password" placeholder="请输入密码...">
                        <div class="input-group-append">
                            <div class="input-group-text">
                                <span class="fas fa-lock"></span>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-8">
                            <div class="checkbox">
                                <label asp-for="Rememberme">
                                    <input asp-for="Rememberme" />
                                    @Html.DisplayNameFor(m => m.Rememberme)
                                </label>
                            </div>
                        </div>
                        <div class="col-4">
                            <button type="submit" class="btn btn-primary btn-block">登录</button>
                        </div>
                    </div>
                </form>
                <p class="mb-1">
                    <a class="text-center" asp-action="Register">注册新账户</a>
                </p>
            </div>
        </div>
    </div>
    <!-- jQuery -->
    <script src="~/plugins/jquery/jquery.min.js"></script>
    <!-- Bootstrap 4 -->
    <script src=".~/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
    <!-- AdminLTE App -->
    <script src="~/dist/js/adminlte.min.js"></script>
</body>
</html>
